class A:
    def __init__(self,age):
        self.age=age
        print('A',age)

class B(A):
    def __init__(self):
        print('B')
        # super(B,self).__init__()#python2的写法
        super().__init__(age=15)

from threading import Thread
class Mythread(Thread):
    def __init__(self,name,user):
        self.user=user
        super.__init__(name=name)
#         super按照mro调用父类方法

if __name__ == '__main__':
    b=A(16)
    b=B()